ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / CommonShaderStageBase Class / SetSamplers Method / SetSamplers(Int32,ComArray<SamplerState>) Method
Index into the device's zero-based array to which to set the array of sampler states.
An array of sampler state to set

In This Topic
    SetSamplers(Int32,ComArray<SamplerState>) Method
    In This Topic
    Sets an array of samplers to be used by the shader stage.
    Syntax
    'Declaration
     
    Public Overloads Sub SetSamplers( _
       ByVal slot As System.Integer, _
       ByVal samplers As ComArray(Of SamplerState) _
    ) 
    public void SetSamplers( 
       System.int slot,
       ComArray<SamplerState> samplers
    )

    Parameters

    slot
    Index into the device's zero-based array to which to set the array of sampler states.
    samplers
    An array of sampler state to set
    See Also